<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ page import="java.util.Iterator" %>
<%@ page import="com.sanqing.po.Position" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>人力资源管理系统</title>
<link rel="stylesheet" rev="stylesheet" href="../css/style.css " type="text/css" media="all" />
<script type="text/javascript" src="Js/typem.js"></script>
<script type="text/javascript" src="Js/js.js"></script>
<style type="text/css">
<!--
.atten {font-size:12px;font-weight:normal;color:#F00;}
-->
</style>
</head>
<body class="ContentBody">
<div class="MainDiv">
<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
  <tr>
      <th class="tablestyle_title" >职位详细信息</th>
  </tr>
  <%
  Position position = (Position)request.getAttribute("position");
  if(position!=null){ 
  %>
		<TR>
			<TD width="100%">
				<fieldset style="height:100%;">
					  <table border="0" cellpadding="8" cellspacing="1" style="width:100%">
					  <tr>
					    <td nowrap align="center" width="10%">职位编号：</td>
					    <td align="left" width="40%"><%=position.getId() %>&nbsp;</td>
					    <td nowrap align="center" width="10%">职位名称：</td>
					    <td align="left" width="40%"><%=position.getName() %>&nbsp;</td>
					  </tr>
					  <tr>
					    <td nowrap align="center" width="10%">所属部门：</td>
					    <td align="left" width="40%"><%=position.getDepartment().getName() %>&nbsp;</td>
					    <td width="10%" nowrap align="center">直属上级：</td>
					    <td align="left" width="40%">
					    <%if(position.getSuperior()!=null){out.print(position.getSuperior().getName());}%>&nbsp;
					    </td>
					  </tr>   
					  <tr>
					    <td width="10%" nowrap align="center">规划人数：</td>
					    <td align="left" width="40%"><%=position.getPlannum() %>&nbsp;</td>
					    <td width="10%" nowrap align="center">在职人数：</td>
					    <td align="left" width="40%"><%=position.getOccunum() %>&nbsp;</td>
					  </tr>
					  <tr>
						<td width="10%" height="22" align="center" >职位目的：</td>
						<td height="22" align="left" colspan="4"><%=position.getPurpose() %>&nbsp;</td>
					  </tr>
					  <tr>
						<td width="10%" height="22" align="center" >工作内容：</td>
					    <td height="22" align="left" colspan="4"><%=position.getContent() %>&nbsp;</td>
					  </tr>
					  <tr>
						<td width="10%" height="22" align="center" >工作职责：</td>
					    <td height="22" align="left" colspan="4"><%=position.getDuty() %>&nbsp;</td>
					  </tr>
					  </table>
				</fieldset>			
				</TD>
		</TR>
		<tr>
          <td height="22" colspan="4" align="center" >
          <a href="job.do?method=getDetail&id=<%=position.getId()%>&act=update">更新</a>&nbsp;&nbsp;<a href="job.do?method=delete&id=<%=position.getId()%>">删除</a></td>
  	    </tr>
		<%}else{ %>
  	<tr>
    <td height="22" colspan="4" align="center" >该信息不存在！！！</td>
  	</tr>
  	<%} %>
</table>	
</div>
</body>
</html>

